home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Amiga Amateur Radio User Group / AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].zip / AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].adf / DisView / !FTPUSER.TXT < prev    next >
Text File  |  1995-05-29  |  5KB  |  135 lines

  1. ============                                        DISview [518]
  2. !FTPUSER.TXT
  3. ============
  4.  
  5.  
  6. To edit ~/ftpusers from the DIS Session Manager:
  7. *****************************************************************
  8. MAIN MENU:D > CONFIGURE NET:C -- "Edit the FTPUSERS file"
  9. *****************************************************************
  10.  
  11.  
  12. >> Example of ~/ftpusers:
  13. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  14. # ~/ftpusers
  15. #
  16. # Anonymous accounts
  17. anonymous @ \DEMON\PUB 1
  18. ftp @ \DEMON\PUB 1
  19.  
  20. # Special accounts
  21. Ian ianspasswd \DEMON 71
  22. Giles gilespasswd \DEMON\PUB 7
  23.  
  24. # SMTP Mail users without ftp/telnet access
  25. # (entries only necessary if no "default deliver" in ~/alias)
  26. bill ~ \TEMP 0
  27. fred ~ \TEMP 0
  28.  
  29. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  30.  
  31.  
  32. Record Format:
  33. -----------------------------------------------------------------
  34. <username> <password> <root_dir> <permissions>
  35. -----------------------------------------------------------------
  36. N.B.  EXACTLY ONE SPACE between fields -- no multiple spaces, no 
  37.       tabs.
  38.  
  39.       The file may contain comment lines (starting with #) and/or
  40.       blank (empty) lines to improve readability.
  41.  
  42.  
  43. <username> is any string of characters, without spaces/tabs. When
  44.    accessing this system with ftp or telnet or SMTP mail, case 
  45.    does not matter; e.g. "Giles" and "giles" are the same.
  46.  
  47.  
  48. <password> is any string of characters, without spaces/tabs. When
  49.    accessing this system with FTP, case does not matter, but when
  50.    accessing with Telnet, case _does_ matter; e.g. in the example
  51.    above, "gilespasswd" will match but "Gilespasswd" will not,
  52.    when accessing with Telnet.
  53.   
  54.    An asterisk (*) in this field indicates that any password will
  55.    be accepted; by convention, users give their email address as 
  56.    the password.
  57.  
  58.    An at-character (@) in this field indicates that when 
  59.    accessing this system with FTP or Telnet, the user will be
  60.    specifically asked to enter their email address as the 
  61.    password. No check is made on the actual password entered, 
  62.    except that it must contain an @ character.
  63.  
  64.    A tilde (~) in this field is a dummy password indicating that 
  65.    this user is a named SMTP mail user who has no permission to 
  66.    login with FTP or Telnet; i.e. the password is always invalid. 
  67.    The remaining fields in the record (<root_dir> and 
  68.    <permissions>) are meaningless. SMTP mail user records 
  69.    containing a tilde password are only necessary if "default 
  70.    deliver" is absent from ~/alias (see below).
  71.  
  72.  
  73. <root_dir> is the highest DOS directory level which the user is
  74.    permitted to access.  This must be expressed as an absolute
  75.    _full_ pathname from the _DOS_ root, but without drive letter.
  76.    The pathname may include backslashes or forward slashes, and 
  77.    case does not matter.
  78.  
  79.    >> Example: if the highest permitted level is the DOS directory
  80.                C:\DEMON, then the <root_dir> field will be \DEMON.
  81.  
  82.  
  83. <permissions> specify access rights to the system.  Note that in 
  84.    addition to giving these rights to individual users, the
  85.    corresponding NET server must also be started:
  86.  
  87.        For FTP access:    'start ftp'
  88.        For Telnet access: 'start telnet'
  89.                         (i.e. for login to the built-in KA9Q BBS)
  90.  
  91.    FTP and Telnet access permissions
  92.    ---------------------------------
  93.       1     allow read access to files
  94.       2     allow creation of new files
  95.       4     allow write access to existing files and 
  96.             allow file deletion
  97.  
  98.    more Telnet access permissions
  99.    ------------------------------
  100.       8     allow AX.25 Gateway access
  101.      16     allow Telnet Gateway access
  102.      32     allow NET/ROM access
  103.      64     allow remote control
  104.     128     disallow all access
  105.  
  106.    ppp access permissions
  107.    ----------------------
  108.     256     PPP connection
  109.     512     peer ID/password lookup
  110.  
  111.    miscellaneous access permissions
  112.    --------------------------------
  113.    1024     disallow send commands (except for sysop)
  114.    2048     disallow read commands
  115.    4096     disallow third-party mail
  116.    8192     known BBS
  117.  
  118.  
  119. "default deliver" in ~/alias
  120. ----------------------------
  121. If the incoming mail alias file (~/alias) does not contain the
  122. entry "default deliver", ~/ftpusers must contain an entry for each
  123. user which can accept SMTP mail (with the exception of 
  124. "postmaster", which can always receive mail and therefore does not
  125. need an entry). Such entries should contain the dummy password
  126. field (~) for users who are not allowed to access the system with
  127. FTP or Telnet.
  128.  
  129. Mail addressed to a user not having an entry in ~/ftpusers will 
  130. bounce if ~/alias does not contain the entry "default deliver".
  131.  
  132. On the other hand, if ~/alias does contain the entry "default 
  133. deliver", it is not necessary for users to be listed in ~/ftpusers 
  134. to receive mail.
  135.